/*ESTILOS GENERALES*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5fbff;
    color: #333;
    overflow-x: hidden;
}

h1 {
    font-family: "Playfair Display", serif;
}

p {
    font-size: large;
}

h2,
li a,
.btn {
    font-family: "Roboto Mono", monospace;
}

a {
    text-decoration: none;
    color: white;
}

i {
    font-size: 20px;
    color: #333;
    text-align: center;
}

.info-card {
    background-color: #555;
    box-shadow: 0 7px 5px rgba(0, 0, 0, 0.05);
}

.title-style {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--title-color);
    letter-spacing: 5px;
    margin-bottom: 10px;
    color: white;
}

.text-style {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    color: white;
}

.divider-col {
    padding: 0;
    display: flex;
    align-items: stretch;
}

footer {
    background-color: #9BBF9B;
}

footer p a {
    text-decoration: none;
    color: white;
}

/*FIN ESTILOS GENERALES*/

/*ESTILO PARA EL NAVEGADOR DE LA PAGINA*/
.navegador {
    justify-content: center;
}

.iniciar {
    justify-content: end;
}

.navbar-light .nav-link {
    color: white;
    font-weight: 500;
}

.navbar-light .nav-link:hover {
    color: whitesmoke;
}

.cuerp {
    background-color: #f8f9fa;
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formu {
    margin: 50px;
    padding: auto;
}

.form-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cabeza {
    background-color: #9BBF9B;
    color: white;
}

.iconos {
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

.titu {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;

}

/*FIN SECCIONES DEL NAVEGADOR*/

/*ESTILO DEL CARRUSEL DE IMAGENES*/
.imagen_carrusel {
    border-radius: 5px;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-item {
    height: 500px;/
}

/*FIN ESTILOS PARA CARRUSEL*/

/*ESTILOS PARA ARTICULOS*/
#inicial {
    background-repeat: no-repeat;
    background-position: center;
}

.sec {
    width: 600px;
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    flex: end;
    text-align: end;
    align-items: end;
    box-sizing: border-box;
    color: #333;
}

.info {
    margin: 5px;
    padding: 10px;
    text-align: center;
    align-content: center;
}

.info .img {
    display: block;
    margin: 43vh auto;
    max-height: 200px;

}

footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 20px 0;
    margin-top: auto;
    text-align: center;
}

/*FIN PARA ESTILOS PARA ARTICULOS*/

/*ESTILO DE TARJETAS*/
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0px;
}

.carimg {
    height: 250px;
    width: 300px;
    padding: 10px;
    border-radius: 15px;
}

.card:hover {
    border-radius: 15px;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 95, 158, 0.2);
}

/*estilos trajetas de servicios*/
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    width: 260px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid #5c975c;
}

.card-body {
    padding: 15px;
    text-align: center;
}

.card-body h5 {
    color: #69a069;
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
}

.card-body p {
    color: #555;
    font-size: 14px;
    padding: 10px;
}

.overlay-btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #4c8f4c;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.overlay-btn a {
    background-color: white;
    color: #94de94;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
}

.overlay-btn a:hover {
    background-color: #8dde8d;
    color: white;
}

.service-card:hover .overlay-btn {
    opacity: 1;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    padding: 15px;
}

/*fin estilos tarjetas de servicios*/
/*¨FIN ESTILOS DE TARJETAS*/

/*ICONOS*/

.iconx {
    font-size: 30px;
    text-align: center;
    color: #9BBF9B;
}

.estrella {
    font-size: 15px;
    text-align: center;
    color: #333;
}

.no_f {
    margin: 5px;
    padding: 10px;
    text-align: center;
    align-content: center;
    border-right: gray solid 1px;
}

.no {
    margin: 5px;
    padding: 10px;
    text-align: center;
    align-content: center;
}

/*FIN ICONOS*/

/*ESTILO RESPONSIVE*/
@media screen and (max-width: 991px) {
    .no_f {
        border-right: 0px;
        border-bottom: gray solid 1px;
    }
}

/*FIN ESTILO RESPONSIVE*/